package com.example.spzx.Service;

import cn.hutool.db.PageResult;
import com.example.spzx.model.entity.product.Brand;
import com.github.pagehelper.PageInfo;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public interface BrandService {
    PageInfo<Brand> getlist(Integer pageNum, Integer pageSize);

    void save(Brand brand);

    void update(Brand brand);

    void delete(Integer id);

    List<Brand> getall();
}
